﻿using PowerHub.MES.DTO.Crew.QueryDto;
using PowerHub.MES.DTO.ProductPlanning.QueryDTO;
using PowerHub.MES.Entities.Crew;
using PowerHub.MES.Entities.ProductPlanning;
using PowerHub.MES.ReturnEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PowerHub.MES.IRepository.IProductPlanning
{

    /// <summary>
    /// 原料分类数据接口层
    /// </summary>
    public interface IProductPlanning_ProductClassifyRepository
    {
        /// <summary>
        /// 获取原料分类列表
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationPageResult<List<ProductPlanning_ProductClassify>>> GetProductPlanning_ProductClassifyPageListAsync(QueryProductPlanning_ProductClassifyDTO query);

        /// <summary>
        /// 添加原料分类
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> CreateProductPlanning_ProductClassifyAsync(ProductPlanning_ProductClassify query);

        /// <summary>
        /// 批量删除原料分类
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> DeletionProductPlanning_ProductClassifyAsync(List<string>? ids);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> UpdateProductPlanning_ProductClassifyAsync(ProductPlanning_ProductClassify query);

    }
}
